﻿@model Rehabilitation.Models.TestDetail

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>TestDetail</legend>

        @Html.HiddenFor(model => model.TestDetailID)

        <div class="editor-label">
            @Html.LabelFor(model => model.TestID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TestID)
            @Html.ValidationMessageFor(model => model.TestID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TestSequence)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TestSequence)
            @Html.ValidationMessageFor(model => model.TestSequence)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SpO2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SpO2)
            @Html.ValidationMessageFor(model => model.SpO2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HR)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HR)
            @Html.ValidationMessageFor(model => model.HR)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Oxygen)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Oxygen)
            @Html.ValidationMessageFor(model => model.Oxygen)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Rest)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Rest)
            @Html.ValidationMessageFor(model => model.Rest)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BORG)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BORG)
            @Html.ValidationMessageFor(model => model.BORG)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Comments)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comments)
            @Html.ValidationMessageFor(model => model.Comments)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
